<extend name="Public:base" />
<block name="header" >
    <span class="action-span"><a href="">会员列表</a></span>
    <span class="action-span1"><a href="">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <span id="search_id" class="action-span1"> 会员列表 </span>
  <!--  <span id="search_id" class="action-span1"> - 会员列表 </span>-->
    <div style="clear:both"></div>
</block>

<block name="body">


<!-- 会员列表 -->

<div class="list-div" id="listDiv">
    <table cellpadding="3" cellspacing="1">
        <tr>
            <th>用户id</th>
            <th>微信openID</th>
            <th>账号</th>
            <th>用户图像</th>
            <th>用户状态</th>
            <th>用户名</th>
            <th>电话号码</th>
            <th>公司名称</th>
            <th>职位</th>
            <th>邮箱</th>
            <th>注册时间</th>
            <th>注册来源</th>
            <th>邀请码</th>
            <th>上级id</th>
            <th>操作</th>
        </tr>
        <volist name="list" id="vo">
        <tr>
            <td align="center">
                {$vo.user_id}
            </td>
            <td align="center"><span>{$vo.wechat_openid}</span></td>
            <td align="center"><span>{$vo.username}</span></td>
            <td align="center"><span><img src="{$vo.user_img}" width="80px"/></span></td>
            <!--<td width="15%"><img src="__PUBLIC_ADMIN__/Images/<eq name='vo.state' value='1'>yes.gif<else/>no.gif</eq>" /></td>-->
            <td><if condition="$vo.state eq 0">已封号
                <elseif condition="$vo.state eq 1"/>未实名认证
                <elseif condition="$vo.state eq 2"/>已实名认证
                </if>
            </td>
            <td align="center"><span>{$vo.name}</span></td>
            <td align="center"><span>{$vo.phone}</span></td>
            <td align="center"><span>{$vo.corporate}</span></td>
            <td align="center"><span>{$vo.duty}</span></td>
            <td align="center"><span>{$vo.email}</span></td>
            <td align="center"><span>{$vo.reg_time|date='Y-m-d H:i:s',###}</span></td>
            <td align="center"><span>{$vo.reg_source}</span></td>
            <td align="center"><span>{$vo.Invite_code}</span></td>
            <td align="center"><span>{$vo.superior_user_id}</span></td>
            <td align="center">
                <a href="{:U('User/edit')}?id= {$vo.user_id}">编辑</a>
            	<a href="{:U('User/del')}?id= {$vo.user_id}" >删除</a>
            </td>

        </tr>
        </volist>
    </table>

    <!-- 分页开始 -->
    <table id="page-table" cellspacing="0">
        <tr>
            <td width="80%">&nbsp;</td>
            <td align="center" nowrap="true">
              {$data.pageStr}
            </td>
        </tr>
    </table>
<!-- 分页结束 -->
</div>
</block>